home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / byte1286.arc / PERRY.ARC / DEMO-2.DOC < prev    next >
Encoding:
Text File  |  1980-01-01  |  8.6 KB  |  216 lines

  1. ;This is DEMO-2.DOC
  2. ;
  3. ;
  4. ; NOTE: Rules are always stated as shown in the following example:
  5. ;    SUM    0 1 2 3 4 5 6 7 8 9
  6. ;    RULE    0 0 1 0 3 3 2 3 2 1  (ie. next state)
  7. ; In other words the Rule, or next state, is an integer
  8.  array that indexes from left to right.                            
  9. ;    
  10. ;            
  11. ;    DEMO1         DEMONSTRATION OF SIMPLE CYCLIC STRUCTURES
  12. ;
  13. ;           2 cyclic structures.
  14. 0 031 023 331  0123333300000000000000000003332023333
  15. ;           3 cyclic structures
  16. 0 021 213 033  3313131333333333320233333333331113333
  17. ;           a cyclic structure and a glider
  18. 0 013 202 101  2203332112333022222222220223012222222
  19. ;           a structure that generates 2 gliders
  20. 0 031 011 220  0000000000000000011000000000000000000
  21. ;           a serpentine structure and a glider
  22. 0 032 301 313  3322210333333331123213333333333333333
  23. ;           2 gliders
  24. 0 111 123 030  1111112203211111111112032111111111111
  25. ;           more cyclic structures
  26. 0 300 321 223  0222303222002222211300000100000000000
  27. 0 031 023 311  0032010102300000032200000000200000000
  28. 0 330 102 223  0011000000002200000000002220000000000
  29. 0 302 301 003  0000000000000000001000000000000000000
  30. 0 210 032 033  3333333333332000000233333333333333333
  31. 0 031 011 213  0111003000000000111110000000000300111
  32. ;           SOME UNUSUAL CONSTANT WIDTH CYCLIC STRUCTURES.
  33. 0 020 022 333  3220233220202332202020233220202020233
  34. 0 020 022 333  3220202020202332202020202020233333333
  35. 0 020 022 333  3220202020202020233220202020202020202
  36. 0 332 301 303  3333233333333333333333331110001113333
  37. ;           A "FABRIC". THIS STRUCTURE CAN BE MADE ARBITRARILY WIDE.
  38. 0 332 301 303  3311100011100011100011100011100011133
  39. ;           ANOTHER FABRIC. THIS RULE IS WORTH INVESTIGATING FURTHER
  40. 0 210 003 311  0033002112002112002112002112003300000
  41. 0 302 103 303  0022333333320000000000000000000002220
  42. 0 310 230 210  0011100000000000000000000002330221000
  43. ;
  44. ;    DEMO2         DEMONSTRATION OF MORE COMPLEX CYCLIC STRUCTURES
  45. ;
  46. ;                320 X 200 PIXEL SCREEN
  47. ;
  48. 0 201 130 000  0000000000000001001000000000000000000
  49. 0 330 102 221  0000000220000000000000000002200000000
  50. 0 001 333 021  0000000000031111111111113000000000000
  51. 0 201 131 030  0000000000000101010101000000000000000
  52. 0 201 022 312  0000000000000033322221000000000000000
  53. ;           FOR BELOW RULE SEE ALSO GLIDERS
  54. 0 031 230 102  0000000000000111000001110000000000000
  55. ;           THIS IS A CYCLIC (PERSISTENT) STRUCTURE THOUGH IT DOESN'T
  56. ;           LOOK IT. THE PERIOD IS ABOUT 860 GENERATIONS.
  57. 0 201 320 200  0000000000002222222010200000000000000
  58. ;
  59. ;
  60. ;    DEMO3         DEMONSTRATION OF SELF SIMILAR TRIANGLES
  61. ;
  62. ;                320 X 200 PIXEL SCREEN
  63. ;
  64. ;           SELF-SIMILAR TRIANGLES
  65. 0 110 331 310  0000000000000000010000000000000000000
  66. 0 223 032 232  0000000000000000020000000000000000000
  67. 0 103 203 000  0000000000000000030000000000000000000
  68. 0 120 323 030  0000000000000000020000000000000000000
  69. 0 103 022 021  0000000000000000010000000000000000000
  70. 0 220 303 101  0000000000000000020000000000000000000
  71. 0 102 210 000  0000000000000000010000000000000000000
  72. 0 213 003 103  3333333333333331000133333333333333333
  73. 0 203 010 302  0000000000000000030000000000000000000
  74. 0 012 013 012  0000000000000000020000000000000000000
  75. 0 031 311 022  1111111111111113333331111111111111111
  76. ;
  77. ;
  78. ;
  79. ;      DEMO4        DEMONSTRATION OF VARIOUS KINDS OF GLIDERS
  80. ;
  81. ;                320 X 200 PIXEL SCREEN
  82. ;
  83. ;           SLOW GLIDERS        
  84. 0 310 023 012  0000322100000000000000000000122300000
  85. ;           STRANGE GLIDERS
  86. 0 002 313 010  0000000000000003322000000000000000000
  87. 0 130 301 233  3323113333333333333333333333333333333
  88. ;           THE FOLLOWING RULE SUPPORTS MANY OTHER CYCLIC STRUCTURES
  89. 0 031 230 102  0012200000000000000000000000002113000
  90. ;           THE FOLLOWING SHOWS CROSSING GLIDERS
  91. 0 130 300 331  0100000000010000000001000000000100000
  92. ;           ANOTHER STRANGE GLIDER
  93. 0 201 113 330  0011333120000000000000000000000000000
  94. ;           A GLIDER THAT GENERATES CHAOS
  95. 0 310 202 332  0000000000000022223300000000000000000
  96. ;
  97. ;    DEMO5         METHESULAS    320 X 200 PIXEL SCREEN
  98. ;
  99. ;
  100. ; The term "Methesula" is borrowed from the "Game of Life" and describes a
  101. ;structure that grows slowly and lives for many generations (or ticks of the
  102. ;clock), but  eventually comes to an end, either by dying out completely or
  103. ;degenerating into a number of simple cyclic stuctures.  Can you find a
  104. ;Methesula that lives more than 3000 generations? 5000? 10000?    A slowly
  105. ;growing, long lived structure for which no end has been found is given
  106. ;the provisional name of "eternal".
  107. ;   Try this experiment: invoke CELLULAR; strike key F1 and enter one of the 
  108. ;following rules, then type (F8),(Del),(F10),( + ),( + ),( + ),....( + )
  109. ;The structure will grow slowly, if at all, but will not degenerate for a 
  110. ;long time.  To make a Methesula you must find the symmetrical (because it's
  111. ;prettier) initial condition that gives the longest living structure.
  112. ;
  113. ; METHUSALEHS
  114. ;           LIVES 750 GENERATIONS
  115. 0 201 210 313  0000000000000033333333330000000000000
  116. ;           LIVES 692 GENERATIONS  (squareish appearance)
  117. 0 030 321 323  0000000333333333332333333333330000000
  118. ;           LIVES 2870 GENERATIONS
  119. 0 010 332 321  0000000000000002222222000000000000000
  120. ;           LIVES 2230 GENERATIONS
  121. 0 302 103 213  0000222222222222222222222222222220000
  122. ;           LIVES 1900 GENERATIONS
  123. 0 310 203 122  0000000000200000000000000200000000000
  124. ;           LIVES  2700 GENERATIONS            
  125. 0 201 123 102  0000111000000000011100000000001110000
  126. ;           I HAVE FOUND NO END TO THIS ONE SO IT MAY BE ETERNAL,
  127. ;           BUT IT'S PRETTY TO WATCH.
  128. 0 201 123 102  0011100000000000011100000000000011100
  129. ;           FIGURE THIS ONE OUT.
  130. 0 012 031 213  0000000000000000011100000000000000000
  131. ;
  132. ;
  133. ;    DEMO6         DEMONSTRATION OF GLIDER GUNS    
  134. ;
  135. ;                320 X 200 PIXEL SCREEN
  136. ;
  137. ;           GLIDER GUNS        
  138. 0 020 303 102  0000000000000000202000000000000000000
  139. 0 310 103 031  0000000000000001133110000000000000000
  140. 0 330 022 123  0000000000000000020000000000000000000
  141. 0 020 133 033  0000000000000000020000000000000000000
  142. 0 120 303 310  0000000000000001111100000000000000000
  143. 0 021 033 013  0000000000000000020000000000000000000
  144. 0 113 203 023  3333333333333333323333333333333333333
  145. ;        
  146. ;
  147. ;
  148. ;           DEMO7        CLASS 4 TRIANGLES AND RETRO-FIRING GLIDERS
  149. ;
  150. ;                SPEED OF EXPANSION = 1
  151. ;                320 X 200 PIXEL SCREEN
  152. ;
  153. ;
  154. ;
  155. ;           RETRO-FIRING GLIDERS. GENESIS OF CLASS 4 TRIANGLES
  156. ;          -------GLIDER #1
  157. 0 203 220 121  0000000000000000000123000000000000000
  158. ;          -------GLIDER #2 RETRO-FIRES GLIDER #1
  159. 0 203 220 121  0000000000000000001203000000000000000
  160. ;          -------GLIDER #3 RETRO-FIRES GLIDER #2 WHICH RETRO-FIRES GLIDER #1
  161. 0 203 220 121  0000000000000001202101230000000000000
  162. ;          -------CLASS 4 TRIANGLE CONTROLLED BY GLIDER #2
  163. 0 203 220 121  0000000000000000003000000000000000000
  164. ;          -------CLASS 4 TRIANGLE CONTROLLED BY GLIDER #3
  165. 0 203 220 121  0000000000000000032300000000000000000
  166. ;
  167. ;           CLASS 4 TRIANGLES
  168. 0 210 310 320  0000000000000000002000000000000000000
  169. 0 303 022 100  0000000000000000003000000000000000000
  170. 0 102 301 031  0000000000000000001000000000000000000
  171. ;           INSTANT OVERPOPULATION
  172. 0 013 001 121  0000000000000000003000000000000000000
  173. 0 020 303 302  0000000000000000002000000000000000000
  174. ;
  175. ;
  176. ;
  177. ;
  178. ;    DEMO8         CLASS 4 TRIANGLES. SPEED OF EXPANSION LESS THAN 1
  179. ;
  180. ;                SPEED OF EXPANSION LESS THAN 1
  181. ;                320 X 200 PIXEL SCREEN
  182. ;
  183. 0 310 202 111  0000000000000000010000000000000000000
  184. 0 230 103 201  0000000000000000020000000000000000000
  185. 0 201 322 002  0000000000000002121200000000000000000
  186. 0 202 330 313  0000000003030303030303030300000000000
  187. ;           GOOD FOR 600 GENERATIONS
  188. 0 201 311 202  0000000000000000010000000000000000000
  189. ;
  190. ;           AN UNUSUAL STRUCTURE THAT GROWS AT A SLOW BUT CONSTANT RATE
  191. 0 310 230 033  0000000000000000202000000000000000000
  192. ;
  193. ;
  194. ;         DEMO9       MORE CLASS 4 TRIANGLES        
  195. ;
  196. ;                320 X 200 PIXEL SCREEN
  197. ;
  198. ;
  199. ;           MORE CLASS 4 TRIANGLES
  200. 0 020 133 320  0000000000000000220000000000000000000
  201. 0 020 213 310  0000000000000000020000000000000000000
  202. 0 323 013 023  3333333333333333323333333333333333333
  203. 0 120 303 001  0000000000000000020000000000000000000
  204. 0 103 220 113  0000000000000000010000000000000000000
  205. 0 020 330 213  0000000000000000232000000000000000000
  206. 0 021 033 000  0000000000000000220000000000000000000
  207. 0 013 102 002  0000000000000000030000000000000000000
  208. 0 020 033 132  0000000000000000020000000000000000000
  209. 0 120 033 012  0000000000000000020000000000000000000
  210. 0 020 233 020  0000000000000000020000000000000000000
  211. 0 013 020 220  0000000000000003222300000000000000000
  212. 0 102 301 002  0000000000000001221000000000000000000
  213. 0 320 330 021  0000000000000000020000000000000000000
  214. 0 021 302 210  2222222222222211111112222222222222222
  215. 0 020 013 332  0000000000000000020000000000000000000
  216.